﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="city_s_show_picture.aspx.cs" Inherits="city_s_show_picture" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style5
        {
            width: 805px;
        }
        .style6
        {
        }
        .style7
        {
           
            width: 564px;
        }
        .style8
        {
            width: 80px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
        <br />

    <asp:HyperLink ID="HyperLink8" runat="server" NavigateUrl="index.aspx">Home</asp:HyperLink>
&nbsp;/&nbsp;<asp:HyperLink ID="HyperLink2" runat="server">HyperLink</asp:HyperLink>
    &nbsp;/
        <asp:HyperLink ID="HyperLink3" runat="server">HyperLink</asp:HyperLink>
&nbsp;/
    <asp:Label ID="Label1" runat="server" Text="Pictures" 
        CssClass="big_title_grey"></asp:Label>
    <br />
    <br />
        <table class="style5">
            <tr>
                <td class="style7" valign="top">
                <div>
                    <asp:Image ID="Image1" runat="server" />
                    </div>
                </td>
                <td class="style6" valign="top">
                    this picture is posted by<br />
                    <br />
                    <table class="style1">
                        <tr>
                            <td class="style8">
                                <asp:Image ID="Image2" runat="server" />
                            </td>
                            <td>
                                <asp:HyperLink ID="HyperLink9" runat="server">HyperLink</asp:HyperLink>
                            </td>
                        </tr>
                    </table>
                    <br /><hr />
                    <br />
                    <asp:Button ID="Button1" runat="server" Height="52px" 
                        Text="I like this picture" onclick="Button1_Click" />
                    <br />
                    <br />
                    <br /><hr />
                    <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
&nbsp;People like this picture<br />
                    <br />
                    <asp:DataList ID="DataList1" runat="server" RepeatColumns="3" 
                        RepeatDirection="Horizontal">
                        <ItemTemplate>
                            <table class="style8">
                                <tr>
                                    <td>
                                        <asp:Image ID="Image3" runat="server"  Width="50"
                                            ImageUrl='<%# Eval("user.profile_picture","user_imgs/1/{0}") %>' />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:HyperLink ID="HyperLink10" runat="server" 
                                            NavigateUrl='<%# Eval("create_user_no","user_profile.aspx?no={0}") %>' 
                                            Text='<%# Eval("user.nickname") %>'></asp:HyperLink>
                                    </td>
                                </tr>
                            </table>
                        </ItemTemplate>
                    </asp:DataList>
                </td>
            </tr>
        </table>
    
    <p>
        &nbsp;</p>
    <p>
    </p>
    <p>
    </p>
</asp:Content>

